package com.aliyun.messagemgt.dto.vo.weixin;

/**
 * Created with IDEA
 * 微信消息发送实体类
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/1/25
 * @time:10:01
 */
public class WeixinSendModelVO {

    private String touser;
    private String toparty;
    private String totag;
    private String msgtype;
    private Long agentid;
    //safe	否	表示是否是保密消息，0表示否，1表示是，默认0
    private Integer safe;
    //chatid	是	群聊id
    private String chatid;

    public String getChatid() {
        return chatid;
    }

    public WeixinSendModelVO setChatid(String chatid) {
        this.chatid = chatid;
        return this;
    }

    public String getTouser() {
        return touser;
    }

    public WeixinSendModelVO setTouser(String touser) {
        this.touser = touser;
        return this;
    }

    public String getToparty() {
        return toparty;
    }

    public WeixinSendModelVO setToparty(String toparty) {
        this.toparty = toparty;
        return this;
    }

    public String getTotag() {
        return totag;
    }

    public WeixinSendModelVO setTotag(String totag) {
        this.totag = totag;
        return this;
    }

    public String getMsgtype() {
        return msgtype;
    }

    public WeixinSendModelVO setMsgtype(String msgtype) {
        this.msgtype = msgtype;
        return this;
    }

    public Long getAgentid() {
        return agentid;
    }

    public WeixinSendModelVO setAgentid(Long agentid) {
        this.agentid = agentid;
        return this;
    }

    public Integer getSafe() {
        return safe;
    }

    public WeixinSendModelVO setSafe(Integer safe) {
        this.safe = safe;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WeixinSendModelVO{");
        sb.append("touser='").append(touser).append('\'');
        sb.append(", toparty='").append(toparty).append('\'');
        sb.append(", totag='").append(totag).append('\'');
        sb.append(", msgtype='").append(msgtype).append('\'');
        sb.append(", agentid='").append(agentid).append('\'');
        sb.append(", chatid='").append(chatid).append('\'');
        sb.append(", safe=").append(safe);
        sb.append('}');
        return sb.toString();
    }
}
